.class Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$1;
.super Ljava/lang/Object;
.source "UserInfoMainActivity.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->initWidgets()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 190
    iput-object p1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$1;->this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .registers 9

    .prologue
    .line 194
    iget-object v5, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$1;->this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    # getter for: Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mContentView:Landroid/view/View;
    invoke-static {v5}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->access$000(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Landroid/view/View;

    move-result-object v5

    invoke-virtual {v5}, Landroid/view/View;->getHeight()I

    move-result v2

    .line 195
    .local v2, "height":I
    const/4 v5, 0x1

    const/high16 v6, 0x42700000

    iget-object v7, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$1;->this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    # getter for: Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mMetrics:Landroid/util/DisplayMetrics;
    invoke-static {v7}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->access$100(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Landroid/util/DisplayMetrics;

    move-result-object v7

    invoke-static {v5, v6, v7}, Landroid/util/TypedValue;->applyDimension(IFLandroid/util/DisplayMetrics;)F

    move-result v0

    .line 196
    .local v0, "actionBarHeight":F
    iget-object v5, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$1;->this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    # getter for: Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mViewPager:Landroid/support/v4/view/ViewPager;
    invoke-static {v5}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->access$200(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Landroid/support/v4/view/ViewPager;

    move-result-object v5

    invoke-virtual {v5}, Landroid/support/v4/view/ViewPager;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v4

    check-cast v4, Landroid/widget/RelativeLayout$LayoutParams;

    .line 197
    .local v4, "params":Landroid/widget/RelativeLayout$LayoutParams;
    int-to-float v5, v2

    sub-float/2addr v5, v0

    float-to-int v5, v5

    iput v5, v4, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    .line 199
    const/4 v3, 0x0

    .local v3, "i":I
    :goto_29
    iget-object v5, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$1;->this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    # getter for: Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mAdapter:Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;
    invoke-static {v5}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->access$300(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;

    move-result-object v5

    invoke-virtual {v5}, Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;->getCount()I

    move-result v5

    if-ge v3, v5, :cond_51

    .line 200
    iget-object v5, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$1;->this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    # getter for: Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mAdapter:Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;
    invoke-static {v5}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->access$300(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;

    move-result-object v5

    invoke-virtual {v5, v3}, Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;->getItem(I)Landroid/support/v4/app/Fragment;

    move-result-object v1

    check-cast v1, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;

    .line 201
    .local v1, "fragment":Lcom/brixd/niceapp/community/CommunityAppBaseFragment;
    iget-object v5, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$1;->this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    # getter for: Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mHeaderArea:Landroid/view/View;
    invoke-static {v5}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->access$400(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Landroid/view/View;

    move-result-object v5

    invoke-virtual {v5}, Landroid/view/View;->getHeight()I

    move-result v5

    invoke-virtual {v1, v5}, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->setEmptyViewBottomMargin(I)V

    .line 199
    add-int/lit8 v3, v3, 0x1

    goto :goto_29

    .line 203
    .end local v1    # "fragment":Lcom/brixd/niceapp/community/CommunityAppBaseFragment;
    :cond_51
    return-void
.end method
